#include <math.h>

#include <iostream>
using namespace std;
int main() {
  int n;
  cin >> n;
  cout << (long long)pow(2, n) << endl;
}